package com.mall.czlr.base.exception;

public class GlobalException extends BaseException {
    public GlobalException(Integer type, String message) {
        super(type, message);
    }

    public GlobalException(String message) {
        super(ERROR_SERVER, message);
    }

    public GlobalException(Integer type, String message, Object... args) {
        super(type, String.format(message, args));
    }
}
